<template>
  <h3>平面设计</h3>
  <div class="fnv" @click="fun">
    <div>视觉设计</div>
    <div>电商设计</div>
    <div>海报设计</div>
    <div>电商设计</div>
  </div>
  <h3>UI设计</h3>
  <div class="fnv" @click="fun">
    <div>视觉设计</div>
    <div>电商设计</div>
    <div>海报设计</div>
    <div>电商设计</div>
  </div>
  <router-view />
</template>

<script>
import Fnvv from '../fnvv.vue'
export default {
  name: '',

  components: {
    Fnvv,
  },
  methods: {
    fun() {
      this.$router.push('/fnvv')
    },
  },
}
</script>

<style lang="less" scoped>
h3 {
  color: grey;
  text-align: center;
}

.fnv {
  width: 58%;
  height: 40%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-self: stretch;
  margin: auto;

  div {
    border: 1px solid #ccc;
    text-align: center;
    line-height: 40px;
    border-radius: 35%;
    height: 40px;
    width: 80px;
    font-size: 18px;
  }
}
</style>
